import request from '@/utils/request'

/**
 * 实时对账，重新对账
 */
export function realtimecompare(params) {
  return request({
    url: '/cms/realtimecompare',
    method: 'post',
    params: params
  })
}
/**
 * 总收入对账
 */
export function sumCompare(params) {
  return request({
    url: '/cms/sumCompare',
    method: 'post',
    params: params
  })
}

/**
 * 交易类型对账
 */
export function transType(params) {
  return request({
    url: '/cms/transCompare',
    method: 'get',
    params: params
  })
}

/**
 * 支付方式对账
 */
export function payType(params) {
  return request({
    url: '/cms/payCompare',
    method: 'get',
    params: params
  })
}

/**
 * 业务类型对账
 */
export function billType(params) {
  return request({
    url: '/cms/billCompare',
    method: 'get',
    params: params
  })
}

/**
 * 支付方式+业务类型对账
 */
export function payBillCompare(params) {
  return request({
    url: '/cms/payBillCompare',
    method: 'get',
    params: params
  })
}
/**
 * 异常账单详情
 */
export function catchList(params) {
  return request({
    url: '/ApiAdmin/Detail/catchList',
    method: 'get',
    params: params
  })
}
/**
 * 获取患者信息和处方号接口
 */
export function getRegno(params) {
  return request({
    url: '/cms/getRegno',
    method: 'post',
    params: params
  })
}
/**
 * 确认解锁处方号接口
 */
export function unlockReg(params) {
  return request({
    url: '/cms/unlockReg',
    method: 'post',
    params: params
  })
}
/**
 * 处方号操作列表
 */
export function regList(params) {
  return request({
    url: '/cms/regList',
    method: 'post',
    params: params
  })
}

